﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace OnlineFloralDelivery.Components
{
    public class BouquetQuery
    {
        public static IList<Bouquet> GetBouquet(int occasionId)
        { 
            using (var db = new OFDEntities())
            {
                return db.Bouquets.Where(x => x.OccasionId == occasionId).ToList();

            }
        }
    }
}